﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Utility
{
    public class Document
    {
        #region 静态方法：文档的删除
        /// <summary>
        /// 删除文档
        /// </summary>
        /// <param name="_Path"></param>
        public static void Document_Del(string _Path)
        {
            if (File.Exists(_Path))
            {
                try
                {
                    File.Delete(_Path);
                }
                catch (Exception e)
                {
                    throw new Exception(e.Message);
                }
            }
        }
        #endregion
    }
}
